Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new jdbc.driver.class "com.mysql.cj.jdbc.Driver" to jmeter.properties #6274

Merged
merged 4 commits into from
Sep 27, 2024

Conversation

dgetzlaf
Copy link
Contributor

Description

This PR simply adds the new driver class "com.mysql.cj.jdbc.Driver".

Motivation and Context

By providing this new class, this message can be prevented: Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class is com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.

dgetzlaf and others added 2 commits April 26, 2024 09:41
…ties

By providing this new class, this message can be prevented:
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
@FSchumacher
Copy link
Contributor

I think the docs should reflect the updates. I am thinking at least https://jmeter.apache.org/usermanual/component_reference.html#JDBC_Connection_Configuration should show the new class, too.

@dgetzlaf
Copy link
Contributor Author

@FSchumacher you're absolutely right!
I've updated the file, and "marked" the old driver as deprecated.

@FSchumacher FSchumacher merged commit 9643596 into apache:master Sep 27, 2024
4 of 7 checks passed
@FSchumacher
Copy link
Contributor

Thanks for the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants